using SharpDX.Direct3D11;
using System;

namespace Engine.Graphics.Shaders.Wr2Shaders
{
    public class NormalColorShader : ShaderBase, ISetShaderValues
    {
        #region Private Fields

        private uint lastHashcodeMappingMatrix1 = 0;
        private uint lastHashcodeMappingMatrix2 = 0;
        private uint lastHashcodeMappingMatrix3 = 0;
        private int lastTextureID1 = -1;
        private int lastTextureID2 = -1;
        private int lastTextureID3 = -1;
        private string name;

        #endregion Private Fields

        #region Public Constructors

        public NormalColorShader(Device renderDevice, string shaderDirectory)
            : base(renderDevice)
        {
            this.name = shaderDirectory;
            base.LoadShader(renderDevice, shaderDirectory + "\\normalColor.fx", "ps_main", "vs_main");
        }

        #endregion Public Constructors

        #region Public Properties

        public ShaderBase Effect
        {
            get { return this.effect; }
        }

        public string Name
        {
            get
            {
                return this.name;
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        #endregion Public Properties

        #region Public Methods

        public new void Dispose()
        {
            base.Dispose();
        }

        public void SetProperties(int materialID, MaterialManager materialManager)
        {
        }

        #endregion Public Methods
    }
}